<template>
  <a-form ref="formRef" :model="formData" layout="horizontal">
    <a-row :gutter="16">
      <a-col :span="12">
        <a-form-item label="申请人：" name="applicantId">
          {{ formData.applicantName }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="客户：" name="customerId">
          {{ formData.customerName }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="授权类型：" name="type">
          {{ $TOOL.dictTypeData('LICENSE_TYPE', formData.type) }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="版本：" name="version">
          {{ formData.versionName }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="描述：" name="description">
          {{ formData.description }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="合同号：" name="contractNo">
          {{ formData.contractNo }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="开始时间：" name="startDate">
          {{ formData.startDate }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="结束时间：" name="endDate">
          {{ formData.endDate }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="生成时间：" name="createDate">
          {{ formData.createDate }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="最大用户：" name="maxUser">
          {{ formData.maxUser }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="MAC地址：" name="macAddress">
          {{ formData.macAddress }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="模块：" name="module">
          {{ formData.moduleName }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="申请原由：" name="reason">
          {{ formData.reason }}
        </a-form-item>
      </a-col>
      <a-col :span="12">
        <a-form-item label="机器信息：" name="machineInfo">
          {{ formData.machineInfo }}
        </a-form-item>
      </a-col>
    </a-row>
  </a-form>
</template>

<script setup name="licenseDetail">
	const formData = defineModel('formData')
</script>
